<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>找回密码</title>
<script type="text/javascript">
function checkempty(){
	if(document.getElementById("findpass").value=='')
	{
		alert("请填写");
		return false;
	}
}

function show(){
	var nouser = ${result};
	if(nouser == 1)
		alert("没有该用户");
}
</script>
</head>
<body onload="show()">
<div id="findpass">
	<s:form id="findpass" action="findPassAction" method="post" onsubmit="return checkempty();">
		<s:textfield id="username" name="username" label="请输入要找回的用户名"/>
		<s:submit value=" 提交 "/>
	</s:form>
</div>
</body>
</html>